export const commonIndicatorObj = {
	"app": [{
			"value": "customer",
			"label": "会员域"
		},
		{
			"value": "goods",
			"label": "商品域"
		}
	],
	"education": [{
			"value": "1",
			"label": "初中及以下"
		},
		{
			"value": "2",
			"label": "高中"
		},
		{
			"value": "3",
			"label": "本科及以上"
		}
	],
	"customer_id_type": [{
			"value": "customer_id",
			"label": "会员ID"
		},
		{
			"value": "mobile",
			"label": "会员手机号"
		}
	],
	"zodiac": [{
			"value": "1",
			"label": "鼠"
		},
		{
			"value": "2",
			"label": "牛"
		},
		{
			"value": "3",
			"label": "虎"
		},
		{
			"value": "4",
			"label": "兔"
		},
		{
			"value": "5",
			"label": "龙"
		},
		{
			"value": "6",
			"label": "蛇"
		},
		{
			"value": "7",
			"label": "马"
		},
		{
			"value": "8",
			"label": "羊"
		},
		{
			"value": "9",
			"label": "猴"
		},
		{
			"value": "10",
			"label": "鸡"
		},
		{
			"value": "11",
			"label": "狗"
		},
		{
			"value": "12",
			"label": "猪"
		}
	],
	"customer_sex": [{
			"value": "1",
			"label": "男"
		},
		{
			"value": "2",
			"label": "女"
		}
	],
	"supplier_property": [{
			"label": "成品"
		},
		{
			"label": "半成品"
		},
		{
			"label": ""
		}
	],
	"sell_code": [{
			"value": "1",
			"label": "正常商品"
		},
		{
			"value": "2",
			"label": "折扣商品"
		}
	],
	"buy_time": [{
			"value": "6",
			"label": "02:00-06:00"
		},
		{
			"value": "9",
			"label": "06:00-09:00"
		},
		{
			"value": "12",
			"label": "09:00-12:00"
		},
		{
			"value": "14",
			"label": "12:00-14:00"
		},
		{
			"value": "18",
			"label": "14:00-18:00"
		},
		{
			"value": "22",
			"label": "18:00-22:00"
		},
		{
			"value": "24",
			"label": "22:00-02:00"
		}
	],
	"constellation": [{
			"value": "1",
			"label": "摩羯座"
		},
		{
			"value": "2",
			"label": "水瓶座"
		},
		{
			"value": "3",
			"label": "双鱼座"
		},
		{
			"value": "4",
			"label": "白羊座"
		},
		{
			"value": "5",
			"label": "金牛座"
		},
		{
			"value": "6",
			"label": "双子座"
		},
		{
			"value": "7",
			"label": "巨蟹座"
		},
		{
			"value": "8",
			"label": "狮子座"
		},
		{
			"value": "9",
			"label": "处女座"
		},
		{
			"value": "10",
			"label": "天秤座"
		},
		{
			"value": "11",
			"label": "天蝎座"
		},
		{
			"value": "12",
			"label": "射手座"
		}
	],
	"buy_week": [{
			"value": "1",
			"label": "星期一"
		},
		{
			"value": "2",
			"label": "星期二"
		},
		{
			"value": "3",
			"label": "星期三"
		},
		{
			"value": "4",
			"label": "星期四"
		},
		{
			"value": "5",
			"label": "星期五"
		},
		{
			"value": "6",
			"label": "星期六"
		},
		{
			"value": "0",
			"label": "星期天"
		}
	],
	"marriage": [{
			"value": "1",
			"label": "未婚"
		},
		{
			"value": "2",
			"label": "已婚"
		},
		{
			"value": "3",
			"label": "离异"
		}
	],
	"shop_type": [{
			"value": "1",
			"label": "实体店铺"
		},
		{
			"value": "2",
			"label": "网络店铺"
		},
		{
			"value": "3",
			"label": "虚拟店铺"
		}
	],
	"rfm_label": [{
			"value": "HIGH_VALUE_CUSTOMER",
			"label": "高价值客户"
		},
		{
			"value": "FOCUS_ON_KEEPING_CUSTOMER",
			"label": "重点保持客户"
		},
		{
			"value": "FOCUS_ON_DEVELOPING_CUSTOMER",
			"label": "重点发展客户"
		},
		{
			"value": "FOCUS_ON_RETAINING_CUSTOMER",
			"label": "重点挽留客户"
		},
		{
			"value": "GENERAL_VALUE_CUSTOMER",
			"label": "一般价值客户"
		},
		{
			"value": "GENERAL_KEEPING_CUSTOMER",
			"label": "一般保持客户"
		},
		{
			"value": "GENERAL_DEVELOPING_CUSTOMER",
			"label": "一般发展客户"
		},
		{
			"value": "POTENTIAL_CUSTOMER",
			"label": "潜在客户"
		}
	],
	"shop_property": [{
			"value": "0",
			"label": "联营店"
		},
		{
			"value": "1",
			"label": "专卖店"
		},
		{
			"value": "2",
			"label": "加盟店"
		},
		{
			"value": "3",
			"label": "直营店"
		}
	],
	"goods_id_type": [{
		"value": "goods_code",
		"label": "商品编码"
	}],
	"order_type": [{
			"value": "1",
			"label": "消费"
		},
		{
			"value": "2",
			"label": "退单"
		}
	]
};
export const userArr = [
  {
    "children":[],
    "code":"customer_level",
    "dataType":"indicator",
    "id":1,
    "isTag":false,
    "name":"等级",
    "optType":"string",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"customer_sex",
    "dataType":"indicator",
    "id":2,
    "isTag":false,
    "name":"性别",
    "optType":"enum",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[
      {
        "children":[],
        "code":"birthday",
        "dataType":"indicator_itemvalue",
        "id":90000,
        "isTag":false,
        "name":"绝对时间",
        "optType":"time",
        "pid":3,
        "tagNum":0
      },
      {
        "children":[],
        "code":"birthday#relative_birth_pass_before",
        "dataType":"indicator_itemvalue",
        "id":90001,
        "isTag":false,
        "name":"相对当前时间点-在过去 XX 天之前",
        "optType":"input_single",
        "pid":3,
        "tagNum":0
      },
      {
        "children":[],
        "code":"birthday#relative_birth_pass_inside",
        "dataType":"indicator_itemvalue",
        "id":90002,
        "isTag":false,
        "name":"相对当前时间点-在过去 XX 天之内",
        "optType":"input_single",
        "pid":3,
        "tagNum":0
      },
      {
        "children":[],
        "code":"birthday#relative_birth_future_inside",
        "dataType":"indicator_itemvalue",
        "id":90003,
        "isTag":false,
        "name":"相对当前时间点-在未来 XX 天之内",
        "optType":"input_single",
        "pid":3,
        "tagNum":0
      },
      {
        "children":[],
        "code":"birthday#relative_birth_future_after",
        "dataType":"indicator_itemvalue",
        "id":90004,
        "isTag":false,
        "name":"相对当前时间点-在未来 XX 天之后",
        "optType":"input_single",
        "pid":3,
        "tagNum":0
      },
      {
        "children":[],
        "code":"birthday#relative_birth_pass_between",
        "dataType":"indicator_itemvalue",
        "id":90005,
        "isTag":false,
        "name":"相对当前时间区间-在过去 XX 天至过去 XX 天之内",
        "optType":"input_between",
        "pid":3,
        "tagNum":0
      },
      {
        "children":[],
        "code":"birthday#relative_birth_future_between",
        "dataType":"indicator_itemvalue",
        "id":90006,
        "isTag":false,
        "name":"相对当前时间区间-在未来 XX 天至未来 XX 天之内",
        "optType":"input_between",
        "pid":3,
        "tagNum":0
      }
    ],
    "code":"birthday",
    "dataType":"indicator",
    "id":3,
    "isTag":false,
    "name":"生日",
    "optType":"time",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"age",
    "dataType":"indicator",
    "id":4,
    "isTag":false,
    "name":"年龄",
    "optType":"number",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"zodiac",
    "dataType":"indicator",
    "id":5,
    "isTag":false,
    "name":"属相",
    "optType":"enum",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"constellation",
    "dataType":"indicator",
    "id":6,
    "isTag":false,
    "name":"星座",
    "optType":"enum",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"education",
    "dataType":"indicator",
    "id":7,
    "isTag":false,
    "name":"学历",
    "optType":"enum",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"marriage",
    "dataType":"indicator",
    "id":8,
    "isTag":false,
    "name":"婚姻",
    "optType":"enum",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"province",
    "dataType":"indicator",
    "id":9,
    "isTag":false,
    "name":"省份",
    "optType":"string",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"city",
    "dataType":"indicator",
    "id":10,
    "isTag":false,
    "name":"城市",
    "optType":"string",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"reg_shop",
    "dataType":"indicator",
    "id":11,
    "isTag":false,
    "name":"注册店铺",
    "optType":"string",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"reg_channel",
    "dataType":"indicator",
    "id":12,
    "isTag":false,
    "name":"注册渠道",
    "optType":"string",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[
      {
        "children":[],
        "code":"reg_time",
        "dataType":"indicator_itemvalue",
        "id":90037,
        "isTag":false,
        "name":"绝对时间",
        "optType":"time",
        "pid":13,
        "tagNum":0
      },
      {
        "children":[],
        "code":"reg_time#relative_pass_before",
        "dataType":"indicator_itemvalue",
        "id":90038,
        "isTag":false,
        "name":"相对当前时间点-在过去 XX 天之前",
        "optType":"input_single",
        "pid":13,
        "tagNum":0
      },
      {
        "children":[],
        "code":"reg_time#relative_pass_inside",
        "dataType":"indicator_itemvalue",
        "id":90039,
        "isTag":false,
        "name":"相对当前时间点-在过去 XX 天之内",
        "optType":"input_single",
        "pid":13,
        "tagNum":0
      },
      {
        "children":[],
        "code":"reg_time#relative_future_inside",
        "dataType":"indicator_itemvalue",
        "id":90040,
        "isTag":false,
        "name":"相对当前时间点-在未来 XX 天之内",
        "optType":"input_single",
        "pid":13,
        "tagNum":0
      },
      {
        "children":[],
        "code":"reg_time#relative_future_after",
        "dataType":"indicator_itemvalue",
        "id":90041,
        "isTag":false,
        "name":"相对当前时间点-在未来 XX 天之后",
        "optType":"input_single",
        "pid":13,
        "tagNum":0
      },
      {
        "children":[],
        "code":"reg_time#relative_pass_between",
        "dataType":"indicator_itemvalue",
        "id":90042,
        "isTag":false,
        "name":"相对当前时间区间-在过去 XX 天至过去 XX 天之内",
        "optType":"input_between",
        "pid":13,
        "tagNum":0
      },
      {
        "children":[],
        "code":"reg_time#relative_future_between",
        "dataType":"indicator_itemvalue",
        "id":90043,
        "isTag":false,
        "name":"相对当前时间区间-在未来 XX 天至未来 XX 天之内",
        "optType":"input_between",
        "pid":13,
        "tagNum":0
      }
    ],
    "code":"reg_time",
    "dataType":"indicator",
    "id":13,
    "isTag":false,
    "name":"注册时间",
    "optType":"time",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[
      {
        "children":[],
        "code":"level_time",
        "dataType":"indicator_itemvalue",
        "id":90007,
        "isTag":false,
        "name":"绝对时间",
        "optType":"time",
        "pid":14,
        "tagNum":0
      },
      {
        "children":[],
        "code":"level_time#relative_pass_before",
        "dataType":"indicator_itemvalue",
        "id":90008,
        "isTag":false,
        "name":"相对当前时间点-在过去 XX 天之前",
        "optType":"input_single",
        "pid":14,
        "tagNum":0
      },
      {
        "children":[],
        "code":"level_time#relative_pass_inside",
        "dataType":"indicator_itemvalue",
        "id":90009,
        "isTag":false,
        "name":"相对当前时间点-在过去 XX 天之内",
        "optType":"input_single",
        "pid":14,
        "tagNum":0
      },
      {
        "children":[],
        "code":"level_time#relative_future_inside",
        "dataType":"indicator_itemvalue",
        "id":90010,
        "isTag":false,
        "name":"相对当前时间点-在未来 XX 天之内",
        "optType":"input_single",
        "pid":14,
        "tagNum":0
      },
      {
        "children":[],
        "code":"level_time#relative_future_after",
        "dataType":"indicator_itemvalue",
        "id":90011,
        "isTag":false,
        "name":"相对当前时间点-在未来 XX 天之后",
        "optType":"input_single",
        "pid":14,
        "tagNum":0
      },
      {
        "children":[],
        "code":"level_time#relative_pass_between",
        "dataType":"indicator_itemvalue",
        "id":90012,
        "isTag":false,
        "name":"相对当前时间区间-在过去 XX 天至过去 XX 天之内",
        "optType":"input_between",
        "pid":14,
        "tagNum":0
      },
      {
        "children":[],
        "code":"level_time#relative_future_between",
        "dataType":"indicator_itemvalue",
        "id":90013,
        "isTag":false,
        "name":"相对当前时间区间-在未来 XX 天至未来 XX 天之内",
        "optType":"input_between",
        "pid":14,
        "tagNum":0
      }
    ],
    "code":"level_time",
    "dataType":"indicator",
    "id":14,
    "isTag":false,
    "name":"升级更新时间",
    "optType":"time",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[
      {
        "children":[
          {
            "children":[],
            "code":"dt_changhuo",
            "dataType":"customizedrule",
            "id":3,
            "isTag":true,
            "name":"1月29日测试",
            "optType":"string",
            "pid":1,
            "tagNum":0
          },
          {
            "children":[],
            "code":"dt_weilai",
            "dataType":"customizedrule",
            "id":5,
            "isTag":true,
            "name":"未来30天之内过生日",
            "optType":"string",
            "pid":1,
            "tagNum":0
          },
          {
            "children":[],
            "code":"dt_jiahzi",
            "dataType":"customizedrule",
            "id":6,
            "isTag":true,
            "name":"用户价值分析",
            "optType":"string",
            "pid":1,
            "tagNum":0
          },
          {
            "children":[],
            "code":"dt_shengmingzhouqi",
            "dataType":"customizedrule",
            "id":7,
            "isTag":true,
            "name":"用户生命周期",
            "optType":"string",
            "pid":1,
            "tagNum":0
          },
          {
            "children":[],
            "code":"dt_xinlao",
            "dataType":"customizedrule",
            "id":8,
            "isTag":true,
            "name":"新老用户分析",
            "optType":"string",
            "pid":1,
            "tagNum":0
          },
          {
            "children":[],
            "code":"dt_baisc",
            "dataType":"valuerule",
            "id":9,
            "isTag":true,
            "name":"baisc",
            "optType":"number",
            "pid":1,
            "tagNum":0
          }
        ],
        "code":"fact",
        "dataType":"tag_group",
        "id":1,
        "isTag":false,
        "name":"事实标签",
        "optType":"enum",
        "pid":0,
        "tagNum":6
      },
      {
        "children":[
          {
            "children":[],
            "code":"dt_zms_test",
            "dataType":"eventrule",
            "id":14,
            "isTag":true,
            "name":"zms_test",
            "optType":"string",
            "pid":5,
            "tagNum":0
          }
        ],
        "code":"life",
        "dataType":"tag_group",
        "id":5,
        "isTag":false,
        "name":"用户生命周期",
        "optType":"enum",
        "pid":0,
        "tagNum":1
      },
      {
        "children":[
          {
            "children":[],
            "code":"dt_buy",
            "dataType":"valuerule",
            "id":1,
            "isTag":true,
            "name":"购买商品",
            "optType":"number",
            "pid":6,
            "tagNum":0
          },
          {
            "children":[],
            "code":"dt_mingan",
            "dataType":"customizedrule",
            "id":10,
            "isTag":true,
            "name":"折扣分析",
            "optType":"string",
            "pid":6,
            "tagNum":0
          }
        ],
        "code":"consume",
        "dataType":"tag_group",
        "id":6,
        "isTag":false,
        "name":"消费标签",
        "optType":"enum",
        "pid":0,
        "tagNum":2
      },
      {
        "children":[
          {
            "children":[],
            "code":"dt_yanse",
            "dataType":"customizedrule",
            "id":11,
            "isTag":true,
            "name":"颜色偏好",
            "optType":"string",
            "pid":19,
            "tagNum":0
          },
          {
            "children":[],
            "code":"dt_pinpai",
            "dataType":"brandPrefer",
            "id":12,
            "isTag":true,
            "name":"品牌偏好",
            "optType":"string",
            "pid":19,
            "tagNum":0
          },
          {
            "children":[],
            "code":"dt_pinlei",
            "dataType":"categoryPrefer",
            "id":13,
            "isTag":true,
            "name":"品类偏好",
            "optType":"string",
            "pid":19,
            "tagNum":0
          }
        ],
        "code":"pianhao",
        "dataType":"tag_group",
        "id":19,
        "isTag":false,
        "name":"偏好标签",
        "optType":"enum",
        "pid":0,
        "tagNum":3
      },
      {
        "children":[
          {
            "children":[],
            "code":"dt_AIPL001",
            "dataType":"customizedrule",
            "id":30001,
            "isTag":true,
            "name":"AIPL0011",
            "optType":"string",
            "pid":20,
            "tagNum":0
          }
        ],
        "code":"leimu",
        "dataType":"tag_group",
        "id":20,
        "isTag":false,
        "name":"类目1",
        "optType":"enum",
        "pid":0,
        "tagNum":1
      },
      {
        "children":[
          {
            "children":[],
            "code":"dt_testCustomize",
            "dataType":"customizedrule",
            "id":2,
            "isTag":true,
            "name":"自定义测试",
            "optType":"string",
            "pid":30003,
            "tagNum":0
          }
        ],
        "code":"yiji",
        "dataType":"tag_group",
        "id":30003,
        "isTag":false,
        "name":"一级类目",
        "optType":"enum",
        "pid":0,
        "tagNum":1
      }
    ],
    "code":"user_tag_group_header",
    "id":0,
    "isTag":false,
    "name":"用户标签",
    "pid":-1,
    "tagNum":14
  },
  {
    "children":[
      {
        "children":[],
        "code":"sg_sg001",
        "dataType":"user_group",
        "id":1,
        "isTag":false,
        "name":"静态群组001",
        "optType":"bool",
        "pid":0,
        "tagNum":0
      },
      {
        "children":[],
        "code":"dg_dg001",
        "dataType":"user_group",
        "id":2,
        "isTag":false,
        "name":"动态群组001",
        "optType":"bool",
        "pid":0,
        "tagNum":0
      },
      {
        "children":[],
        "code":"sg_test77878",
        "dataType":"user_group",
        "id":3,
        "isTag":false,
        "name":"test77878",
        "optType":"bool",
        "pid":0,
        "tagNum":0
      },
      {
        "children":[],
        "code":"dg_test09080",
        "dataType":"user_group",
        "id":5,
        "isTag":false,
        "name":"册数",
        "optType":"bool",
        "pid":0,
        "tagNum":0
      },
      {
        "children":[],
        "code":"sg_test89",
        "dataType":"user_group",
        "id":14,
        "isTag":false,
        "name":"测试89",
        "optType":"bool",
        "pid":16,
        "tagNum":0
      },
      {
        "children":[],
        "code":"sg_test009",
        "dataType":"user_group",
        "id":15,
        "isTag":false,
        "name":"测试test009",
        "optType":"bool",
        "pid":16,
        "tagNum":0
      },
      {
        "children":[],
        "code":"sg_hebingceshi",
        "dataType":"user_group",
        "id":16,
        "isTag":false,
        "name":"合并测试",
        "optType":"bool",
        "pid":0,
        "tagNum":0
      },
      {
        "children":[],
        "code":"dg_xinjian",
        "dataType":"user_group",
        "id":17,
        "isTag":false,
        "name":"新建群组",
        "optType":"bool",
        "pid":0,
        "tagNum":0
      },
      {
        "children":[],
        "code":"sg_a111",
        "dataType":"user_group",
        "id":18,
        "isTag":false,
        "name":"111",
        "optType":"bool",
        "pid":0,
        "tagNum":0
      },
      {
        "children":[],
        "code":"dg_shengmng",
        "dataType":"user_group",
        "id":19,
        "isTag":false,
        "name":"新用户会员",
        "optType":"bool",
        "pid":0,
        "tagNum":0
      },
      {
        "children":[],
        "code":"dg_liushi",
        "dataType":"user_group",
        "id":20,
        "isTag":false,
        "name":"流失会员",
        "optType":"bool",
        "pid":22,
        "tagNum":0
      },
      {
        "children":[],
        "code":"dg_huoyue",
        "dataType":"user_group",
        "id":21,
        "isTag":false,
        "name":"活跃会员",
        "optType":"bool",
        "pid":22,
        "tagNum":0
      },
      {
        "children":[],
        "code":"sg_s111",
        "dataType":"user_group",
        "id":30001,
        "isTag":false,
        "name":"s111",
        "optType":"bool",
        "pid":0,
        "tagNum":0
      }
    ],
    "code":"user_group_header",
    "id":0,
    "isTag":false,
    "name":"用户群组",
    "pid":-1,
    "tagNum":0
  }
]
export const behaviourArr = [
  {
    "children":[
      {
        "children":[],
        "code":"order_time",
        "dataType":"indicator_itemvalue",
        "id":90024,
        "isTag":false,
        "name":"绝对时间",
        "optType":"time",
        "pid":15,
        "tagNum":0
      },
      {
        "children":[],
        "code":"order_time#relative_pass_before",
        "dataType":"indicator_itemvalue",
        "id":90027,
        "isTag":false,
        "name":"相对当前时间点-在过去 XX 天之前",
        "optType":"input_single",
        "pid":15,
        "tagNum":0
      },
      {
        "children":[],
        "code":"order_time#relative_pass_inside",
        "dataType":"indicator_itemvalue",
        "id":90028,
        "isTag":false,
        "name":"相对当前时间点-在过去 XX 天之内",
        "optType":"input_single",
        "pid":15,
        "tagNum":0
      },
      {
        "children":[],
        "code":"order_time#relative_future_inside",
        "dataType":"indicator_itemvalue",
        "id":90029,
        "isTag":false,
        "name":"相对当前时间点-在未来 XX 天之内",
        "optType":"input_single",
        "pid":15,
        "tagNum":0
      },
      {
        "children":[],
        "code":"order_time#relative_future_after",
        "dataType":"indicator_itemvalue",
        "id":90030,
        "isTag":false,
        "name":"相对当前时间点-在未来 XX 天之后",
        "optType":"input_single",
        "pid":15,
        "tagNum":0
      },
      {
        "children":[],
        "code":"order_time#relative_pass_between",
        "dataType":"indicator_itemvalue",
        "id":90031,
        "isTag":false,
        "name":"相对当前时间区间-在过去 XX 天至过去 XX 天之内",
        "optType":"input_between",
        "pid":15,
        "tagNum":0
      },
      {
        "children":[],
        "code":"order_time#relative_future_between",
        "dataType":"indicator_itemvalue",
        "id":90032,
        "isTag":false,
        "name":"相对当前时间区间-在未来 XX 天至未来 XX 天之内",
        "optType":"input_between",
        "pid":15,
        "tagNum":0
      }
    ],
    "code":"order_time",
    "dataType":"indicator",
    "id":15,
    "isTag":false,
    "name":"交易时间",
    "optType":"time",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[
      {
        "children":[],
        "code":"first_order_time",
        "dataType":"indicator_itemvalue",
        "id":150000,
        "isTag":false,
        "name":"绝对时间",
        "optType":"time",
        "pid":36,
        "tagNum":0
      },
      {
        "children":[],
        "code":"first_order_time#relative_pass_before",
        "dataType":"indicator_itemvalue",
        "id":150001,
        "isTag":false,
        "name":"相对当前时间点-在过去 XX 天之前",
        "optType":"input_single",
        "pid":36,
        "tagNum":0
      },
      {
        "children":[],
        "code":"first_order_time#relative_pass_inside",
        "dataType":"indicator_itemvalue",
        "id":150002,
        "isTag":false,
        "name":"相对当前时间点-在过去 XX 天之内",
        "optType":"input_single",
        "pid":36,
        "tagNum":0
      },
      {
        "children":[],
        "code":"first_order_time#relative_future_inside",
        "dataType":"indicator_itemvalue",
        "id":150003,
        "isTag":false,
        "name":"相对当前时间点-在未来 XX 天之内",
        "optType":"input_single",
        "pid":36,
        "tagNum":0
      },
      {
        "children":[],
        "code":"first_order_time#relative_future_after",
        "dataType":"indicator_itemvalue",
        "id":150004,
        "isTag":false,
        "name":"相对当前时间点-在未来 XX 天之后",
        "optType":"input_single",
        "pid":36,
        "tagNum":0
      },
      {
        "children":[],
        "code":"first_order_time#relative_pass_between",
        "dataType":"indicator_itemvalue",
        "id":150005,
        "isTag":false,
        "name":"相对当前时间区间-在过去 XX 天至过去 XX 天之内",
        "optType":"input_between",
        "pid":36,
        "tagNum":0
      },
      {
        "children":[],
        "code":"first_order_time#relative_future_between",
        "dataType":"indicator_itemvalue",
        "id":150006,
        "isTag":false,
        "name":"相对当前时间区间-在未来 XX 天至未来 XX 天之内",
        "optType":"input_between",
        "pid":36,
        "tagNum":0
      }
    ],
    "code":"first_order_time",
    "dataType":"indicator",
    "id":36,
    "isTag":false,
    "name":"首次交易时间",
    "optType":"time",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[
      {
        "children":[],
        "code":"last_order_time",
        "dataType":"indicator_itemvalue",
        "id":150007,
        "isTag":false,
        "name":"绝对时间",
        "optType":"time",
        "pid":37,
        "tagNum":0
      },
      {
        "children":[],
        "code":"last_order_time#relative_pass_before",
        "dataType":"indicator_itemvalue",
        "id":150008,
        "isTag":false,
        "name":"相对当前时间点-在过去 XX 天之前",
        "optType":"input_single",
        "pid":37,
        "tagNum":0
      },
      {
        "children":[],
        "code":"last_order_time#relative_pass_inside",
        "dataType":"indicator_itemvalue",
        "id":150009,
        "isTag":false,
        "name":"相对当前时间点-在过去 XX 天之内",
        "optType":"input_single",
        "pid":37,
        "tagNum":0
      },
      {
        "children":[],
        "code":"last_order_time#relative_future_inside",
        "dataType":"indicator_itemvalue",
        "id":150010,
        "isTag":false,
        "name":"相对当前时间点-在未来 XX 天之内",
        "optType":"input_single",
        "pid":37,
        "tagNum":0
      },
      {
        "children":[],
        "code":"last_order_time#relative_future_after",
        "dataType":"indicator_itemvalue",
        "id":150011,
        "isTag":false,
        "name":"相对当前时间点-在未来 XX 天之后",
        "optType":"input_single",
        "pid":37,
        "tagNum":0
      },
      {
        "children":[],
        "code":"last_order_time#relative_pass_between",
        "dataType":"indicator_itemvalue",
        "id":150012,
        "isTag":false,
        "name":"相对当前时间区间-在过去 XX 天至过去 XX 天之内",
        "optType":"input_between",
        "pid":37,
        "tagNum":0
      },
      {
        "children":[],
        "code":"last_order_time#relative_future_between",
        "dataType":"indicator_itemvalue",
        "id":150013,
        "isTag":false,
        "name":"相对当前时间区间-在未来 XX 天至未来 XX 天之内",
        "optType":"input_between",
        "pid":37,
        "tagNum":0
      }
    ],
    "code":"last_order_time",
    "dataType":"indicator",
    "id":37,
    "isTag":false,
    "name":"末次交易时间",
    "optType":"time",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"buy_week",
    "dataType":"indicator",
    "id":16,
    "isTag":false,
    "name":"经常购买时间段",
    "optType":"enum",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"buy_time",
    "dataType":"indicator",
    "id":17,
    "isTag":false,
    "name":"经常购买时间点",
    "optType":"enum",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"repurchase_avg",
    "dataType":"indicator",
    "id":18,
    "isTag":false,
    "name":"平均回购周期",
    "optType":"number",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"recency",
    "dataType":"indicator",
    "id":19,
    "isTag":false,
    "name":"未购买天数",
    "optType":"number",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[
      {
        "children":[],
        "code":"frequency#count",
        "dataType":"indicator_itemvalue",
        "id":90044,
        "isTag":false,
        "name":"总和",
        "optType":"number",
        "pid":20,
        "tagNum":0
      }
    ],
    "code":"frequency",
    "dataType":"indicator",
    "id":20,
    "isTag":false,
    "name":"交易次数",
    "optType":"number",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[
      {
        "children":[],
        "code":"monetary#min",
        "dataType":"indicator_itemvalue",
        "id":90017,
        "isTag":false,
        "name":"最小值",
        "optType":"number",
        "pid":21,
        "tagNum":0
      },
      {
        "children":[],
        "code":"monetary#max",
        "dataType":"indicator_itemvalue",
        "id":90018,
        "isTag":false,
        "name":"最大值",
        "optType":"number",
        "pid":21,
        "tagNum":0
      },
      {
        "children":[],
        "code":"monetary#avg",
        "dataType":"indicator_itemvalue",
        "id":90015,
        "isTag":false,
        "name":"次均值(客单价)",
        "optType":"number",
        "pid":21,
        "tagNum":0
      },
      {
        "children":[],
        "code":"monetary#sum",
        "dataType":"indicator_itemvalue",
        "id":90014,
        "isTag":false,
        "name":"总和",
        "optType":"number",
        "pid":21,
        "tagNum":0
      }
    ],
    "code":"monetary",
    "dataType":"indicator",
    "id":21,
    "isTag":false,
    "name":"交易金额",
    "optType":"number",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[
      {
        "children":[],
        "code":"quantity#min",
        "dataType":"indicator_itemvalue",
        "id":90033,
        "isTag":false,
        "name":"最小值",
        "optType":"number",
        "pid":22,
        "tagNum":0
      },
      {
        "children":[],
        "code":"quantity#max",
        "dataType":"indicator_itemvalue",
        "id":90034,
        "isTag":false,
        "name":"最大值",
        "optType":"number",
        "pid":22,
        "tagNum":0
      },
      {
        "children":[],
        "code":"quantity#avg",
        "dataType":"indicator_itemvalue",
        "id":90035,
        "isTag":false,
        "name":"次均值(客单件)",
        "optType":"number",
        "pid":22,
        "tagNum":0
      },
      {
        "children":[],
        "code":"quantity#sum",
        "dataType":"indicator_itemvalue",
        "id":90036,
        "isTag":false,
        "name":"总和",
        "optType":"number",
        "pid":22,
        "tagNum":0
      }
    ],
    "code":"quantity",
    "dataType":"indicator",
    "id":22,
    "isTag":false,
    "name":"交易数量",
    "optType":"number",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"order_shop",
    "dataType":"indicator",
    "id":23,
    "isTag":false,
    "name":"交易店铺",
    "optType":"string",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"order_channel",
    "dataType":"indicator",
    "id":24,
    "isTag":false,
    "name":"交易渠道",
    "optType":"string",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[
      {
        "children":[],
        "code":"goods_name",
        "dataType":"indicator",
        "id":26,
        "isTag":false,
        "name":"商品名称",
        "optType":"string",
        "pid":25,
        "tagNum":0
      },
      {
        "children":[],
        "code":"goods_brand",
        "dataType":"indicator",
        "id":28,
        "isTag":false,
        "name":"商品品牌",
        "optType":"string",
        "pid":25,
        "tagNum":0
      },
      {
        "children":[],
        "code":"goods_category",
        "dataType":"indicator",
        "id":29,
        "isTag":false,
        "name":"商品大类",
        "optType":"string",
        "pid":25,
        "tagNum":0
      },
      {
        "children":[],
        "code":"goods_color",
        "dataType":"indicator",
        "id":31,
        "isTag":false,
        "name":"商品颜色",
        "optType":"string",
        "pid":25,
        "tagNum":0
      },
      {
        "children":[],
        "code":"goods_price",
        "dataType":"indicator",
        "id":27,
        "isTag":false,
        "name":"商品单价",
        "optType":"number",
        "pid":25,
        "tagNum":0
      },
      {
        "children":[],
        "code":"goods_qty",
        "dataType":"indicator",
        "id":32,
        "isTag":false,
        "name":"商品件数",
        "optType":"number",
        "pid":25,
        "tagNum":0
      },
      {
        "children":[],
        "code":"sell_code",
        "dataType":"indicator",
        "id":30,
        "isTag":false,
        "name":"商品类型",
        "optType":"enum",
        "pid":25,
        "tagNum":0
      },
      {
        "children":[],
        "code":"goods_discount",
        "dataType":"indicator",
        "id":33,
        "isTag":false,
        "name":"商品折扣",
        "optType":"number",
        "pid":25,
        "tagNum":0
      },
      {
        "children":[],
        "code":"series_code",
        "dataType":"indicator",
        "id":38,
        "isTag":false,
        "name":"商品系列",
        "optType":"string",
        "pid":25,
        "tagNum":0
      }
    ],
    "code":"order_goods",
    "dataType":"indicator",
    "id":25,
    "isTag":false,
    "name":"购买商品",
    "optType":"list",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[],
    "code":"order_type",
    "dataType":"indicator",
    "id":34,
    "isTag":false,
    "name":"交易类型",
    "optType":"enum",
    "pid":0,
    "tagNum":0
  },
  {
    "children":[
      {
        "children":[],
        "code":"order_rate#sum",
        "dataType":"indicator_itemvalue",
        "id":90020,
        "isTag":false,
        "name":"累计",
        "optType":"number",
        "pid":35,
        "tagNum":0
      },
      {
        "children":[],
        "code":"order_rate#min",
        "dataType":"indicator_itemvalue",
        "id":90021,
        "isTag":false,
        "name":"最小值",
        "optType":"number",
        "pid":35,
        "tagNum":0
      },
      {
        "children":[],
        "code":"order_rate#avg",
        "dataType":"indicator_itemvalue",
        "id":90022,
        "isTag":false,
        "name":"次均值",
        "optType":"number",
        "pid":35,
        "tagNum":0
      },
      {
        "children":[],
        "code":"order_rate#max",
        "dataType":"indicator_itemvalue",
        "id":90023,
        "isTag":false,
        "name":"最大值",
        "optType":"number",
        "pid":35,
        "tagNum":0
      }
    ],
    "code":"order_rate",
    "dataType":"indicator",
    "id":35,
    "isTag":false,
    "name":"交易折扣率",
    "optType":"number",
    "pid":0,
    "tagNum":0
  }
]
export const modelArr = [
  {
    "children":[
      {
        "children":[],
        "code":"rfm_label",
        "id":2,
        "modelType":1,
        "name":"客户类型",
        "optType":"enum",
        "pid":1
      },
      {
        "children":[],
        "code":"rfm_score_trade_interval",
        "id":3,
        "modelType":1,
        "name":"最小间隔交易得分",
        "optType":"number",
        "pid":1
      },
      {
        "children":[],
        "code":"rfm_score_trade_frequency",
        "id":4,
        "modelType":1,
        "name":"交易频次得分",
        "optType":"number",
        "pid":1
      },
      {
        "children":[],
        "code":"rfm_score_trade_amount",
        "id":5,
        "modelType":1,
        "name":"交易金额得分",
        "optType":"number",
        "pid":1
      }
    ],
    "code":"rfm",
    "id":1,
    "modelType":1,
    "name":"RFM模型",
    "optType":"enum",
    "pid":0
  }
]
